package itsm.isperp.module.dto.solr;

import itsm.isperp.framework.domain.IBean;

import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.annotation.Id;

/**
 * 
 * 一个基于Solr索引的事件数据传输对象
 * 
 * @author lizx
 * @date 2013-4-18
 */
public class SolrIcdIncidentDTO extends SolrDTO implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Field
	protected String id;
	@Field
	protected String code;
	@Field
	protected String title;
	@Field
	protected String description;
	@Field
	protected String cusUserName;
	@Field
	protected String icdCatagoryName;
	@Field
	protected String handleProcess;
	@Field
	protected String reasonAnalyze;
	@Field
	protected String solution;
	@Field
	protected String ciId;

	@Override
	public String getId() {
		return id;
	}

	public String getCode() {
		return code;
	}

	public String getDescription() {
		return description;
	}

	public String getCusUserName() {
		return cusUserName;
	}

	public String getIcdCatagoryName() {
		return icdCatagoryName;
	}

	public String getHandleProcess() {
		return handleProcess;
	}

	public String getReasonAnalyze() {
		return reasonAnalyze;
	}

	public String getSolution() {
		return solution;
	}

	public String getCiId() {
		return ciId;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setCusUserName(String cusUserName) {
		this.cusUserName = cusUserName;
	}

	public void setIcdCatagoryName(String icdCatagoryName) {
		this.icdCatagoryName = icdCatagoryName;
	}

	public void setHandleProcess(String handleProcess) {
		this.handleProcess = handleProcess;
	}

	public void setReasonAnalyze(String reasonAnalyze) {
		this.reasonAnalyze = reasonAnalyze;
	}

	public void setSolution(String solution) {
		this.solution = solution;
	}

	public void setCiId(String ciId) {
		this.ciId = ciId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

}
